package study.itwill.team5.board;

/**
 * italia.comment 테이블을 표현하는 JavaBeans
 */
public class CommentItem {
	private int seq;
	private String comment;
	private String reg_date;
	private String edit_date;
	private int board_seq;
	private String title;
	private int member_seq;
	private String user_name;
	
	public CommentItem(int seq, String comment, String reg_date,
			String edit_date, int board_seq, String title, int member_seq,
			String user_name) {
		super();
		this.seq = seq;
		this.comment = comment;
		this.reg_date = reg_date;
		this.edit_date = edit_date;
		this.board_seq = board_seq;
		this.title = title;
		this.member_seq = member_seq;
		this.user_name = user_name;
	}

	public int getSeq() {
		return seq;
	}

	public void setSeq(int seq) {
		this.seq = seq;
	}

	public String getComment() {
		return comment;
	}

	public void setComment(String comment) {
		this.comment = comment;
	}

	public String getReg_date() {
		return reg_date;
	}

	public void setReg_date(String reg_date) {
		this.reg_date = reg_date;
	}

	public String getEdit_date() {
		return edit_date;
	}

	public void setEdit_date(String edit_date) {
		this.edit_date = edit_date;
	}

	public int getBoard_seq() {
		return board_seq;
	}

	public void setBoard_seq(int board_seq) {
		this.board_seq = board_seq;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public int getMember_seq() {
		return member_seq;
	}

	public void setMember_seq(int member_seq) {
		this.member_seq = member_seq;
	}

	public String getUser_name() {
		return user_name;
	}

	public void setUser_name(String user_name) {
		this.user_name = user_name;
	}

	@Override
	public String toString() {
		return "CommentItem [seq=" + seq + ", comment=" + comment
				+ ", reg_date=" + reg_date + ", edit_date=" + edit_date
				+ ", board_seq=" + board_seq + ", title=" + title
				+ ", member_seq=" + member_seq + ", user_name=" + user_name
				+ "]";
	}
}
